package com.x.crm.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@MappingTable(tableName = "CRM_FOLLOW_FIXTURE")

public class FollowFixture extends BaseObject{


	@MappingColumn(columnName = "FOLLOW_FIXTURE_ID", columnPk = true, columnLength = 32)
	private String followFixtureId;

	@MappingColumn(columnName = "FIXTURE_FOLLOWER_ID")
	private String fixtureFollowerId;

	@MappingColumn(columnName = "FIXTURE_FOLLOWER_NAME")
	private String fixtureFollowerName;

	@MappingColumn(columnName = "FIXTURE_LEVEL_ID")
	private String fixtureLevelId;

	@MappingColumn(columnName = "FIXTURE_LEVEL_TXT")
	private String fixtureLevelTxt;

	@MappingColumn(columnName = "FIXTURE_SALE_MODE")
	private Integer fixtureSaleMode;

	@MappingColumn(columnName = "FIXTURE_TIME")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date fixtureTime ;

	@MappingColumn(columnName = "FIXTURE_USER_ID")
	private String fixtureUserId;

	@MappingColumn(columnName = "FIXTURE_USER_NAME")
	private String fixtureUserName;

	@MappingColumn(columnName = "FIXTURE_PRICE")
	private BigDecimal fixturePrice;

	@MappingColumn(columnName = "FIXTURE_ORDER_PRICE")
	private BigDecimal fixtureOrderPrice;

	@MappingColumn(columnName = "FIXTURE_TRADE_MODE")
	private Integer fixtureTradeMode;

	@MappingColumn(columnName = "FIXTURE_LOGISTICS")
	private Integer fixtureLogistics;

	@MappingColumn(columnName = "INTENTION_ID")
	private String intentionId;

	@MappingColumn(columnName = "FOLLOW_FIXTURE_UPDATE_TIME")
	private Date followFixtureUpdateTime;

	@MappingColumn(columnName = "FOLLOW_FIXTURE_CREATE_TIME")
	private Date followFixtureCreateTime;

	@MappingColumn(columnName = "FIXTURE_FOLLOW_REMARK")
	private String fixtureFollowRemark;

	@MappingTable(tableName = "CRM_FIXTURE_CAR", modelClass = FixtureCar.class)
	private List<FixtureCar> followFixtureCarList;

	@MappingTable(tableName = "CRM_FOLLOW_SERVICE", modelClass = FollowService.class)
	private List<FollowService> followServiceList;


	public String getFollowFixtureId() {
		return followFixtureId;
	}

	public void setFollowFixtureId(String followFixtureId) {
		this.followFixtureId = followFixtureId;
	}

	public String getFixtureFollowerId() {
		return fixtureFollowerId;
	}

	public void setFixtureFollowerId(String fixtureFollowerId) {
		this.fixtureFollowerId = fixtureFollowerId;
	}

	public String getFixtureFollowerName() {
		return fixtureFollowerName;
	}

	public void setFixtureFollowerName(String fixtureFollowerName) {
		this.fixtureFollowerName = fixtureFollowerName;
	}

	public String getFixtureLevelId() {
		return fixtureLevelId;
	}

	public void setFixtureLevelId(String fixtureLevelId) {
		this.fixtureLevelId = fixtureLevelId;
	}

	public String getFixtureLevelTxt() {
		return fixtureLevelTxt;
	}

	public void setFixtureLevelTxt(String fixtureLevelTxt) {
		this.fixtureLevelTxt = fixtureLevelTxt;
	}

	public Integer getFixtureSaleMode() {
		return fixtureSaleMode;
	}

	public void setFixtureSaleMode(Integer fixtureSaleMode) {
		this.fixtureSaleMode = fixtureSaleMode;
	}

	public Date getFixtureTime() {
		return fixtureTime;
	}

	public void setFixtureTime(Date fixtureTime) {
		this.fixtureTime = fixtureTime;
	}

	public String getFixtureUserId() {
		return fixtureUserId;
	}

	public void setFixtureUserId(String fixtureUserId) {
		this.fixtureUserId = fixtureUserId;
	}

	public String getFixtureUserName() {
		return fixtureUserName;
	}

	public void setFixtureUserName(String fixtureUserName) {
		this.fixtureUserName = fixtureUserName;
	}

	public BigDecimal getFixturePrice() {
		return fixturePrice;
	}

	public void setFixturePrice(BigDecimal fixturePrice) {
		this.fixturePrice = fixturePrice;
	}

	public BigDecimal getFixtureOrderPrice() {
		return fixtureOrderPrice;
	}

	public void setFixtureOrderPrice(BigDecimal fixtureOrderPrice) {
		this.fixtureOrderPrice = fixtureOrderPrice;
	}

	public Integer getFixtureTradeMode() {
		return fixtureTradeMode;
	}

	public void setFixtureTradeMode(Integer fixtureTradeMode) {
		this.fixtureTradeMode = fixtureTradeMode;
	}

	public Integer getFixtureLogistics() {
		return fixtureLogistics;
	}

	public void setFixtureLogistics(Integer fixtureLogistics) {
		this.fixtureLogistics = fixtureLogistics;
	}

	public String getIntentionId() {
		return intentionId;
	}

	public void setIntentionId(String intentionId) {
		this.intentionId = intentionId;
	}

	public Date getFollowFixtureUpdateTime() {
		return followFixtureUpdateTime;
	}

	public void setFollowFixtureUpdateTime(Date followFixtureUpdateTime) {
		this.followFixtureUpdateTime = followFixtureUpdateTime;
	}

	public Date getFollowFixtureCreateTime() {
		return followFixtureCreateTime;
	}

	public void setFollowFixtureCreateTime(Date followFixtureCreateTime) {
		this.followFixtureCreateTime = followFixtureCreateTime;
	}

	public String getFixtureFollowRemark() {
		return fixtureFollowRemark;
	}

	public void setFixtureFollowRemark(String fixtureFollowRemark) {
		this.fixtureFollowRemark = fixtureFollowRemark;
	}

	public List<FixtureCar> getFollowFixtureCarList() {
		return followFixtureCarList;
	}

	public void setFollowFixtureCarList(List<FixtureCar> followFixtureCarList) {
		this.followFixtureCarList = followFixtureCarList;
	}

	public List<FollowService> getFollowServiceList() {
		return followServiceList;
	}

	public void setFollowServiceList(List<FollowService> followServiceList) {
		this.followServiceList = followServiceList;
	}
}
